from .index_view import index_view
from .auth_view import auth_view
from .api_view import api_view
from .admin_view import admin_view


def register_blueprints(app) -> None:
    """
    蓝图注册函数
    :param app: Flask实例
    """
    app.register_blueprint(index_view, url_prefix='/')
    app.register_blueprint(auth_view, url_prefix='/auth')
    app.register_blueprint(api_view, url_prefix='/api')
    app.register_blueprint(admin_view, url_prefix='/admin')
